<form id="login-frm" method="post" action="<?=site_url('login')?>">
    <div class="error-login">
        <?php echo validation_errors();?>
        <?=isset($error)?$error:''?>
    </div>
    <div class="rows-form-lg">
        <span>Email:</span>
        <input type="text" name="email"/>
    </div>
    <div class="rows-form-lg">
        <span>Mật khẩu:</span>
        <input type="password" name="password"/>
    </div>
    <div class="rows-form-lg">
        <span>&nbsp;</span>
        <input type="checkbox" name="remember"/>&nbsp;&nbsp;Nhớ mật khẩu
    </div>
    <div class="rows-form-lg">
        <span>&nbsp;</span>
        <input type="submit" name="login" value="Đăng nhập" />
        &nbsp;&nbsp;
        <a href="#">Quên mật khẩu?</a>
    </div>
</form>